<script>
    window.CONFIG = {
        ADMIN: "{$adminModuleName|default='manage'}",
        CONTROLLER_JS_PATH: "{$thisControllerJsPath|default=''}",
        ACTION: "{$thisAction|default=''}",
        AUTOLOAD_JS: "{$autoloadJs|default='false'}",
        IS_SUPER_ADMIN: "{$isSuperAdmin|default='false'}",
        VERSION: "{$version|default='1.0.0'}",
        DOMAIN: "{$domain|default='http://www.buwangyun.com'}",
        MINIAPP_ID:"{$member_miniapp_id|default=0}",
        JS: <?php echo isset($jsConfig) ? json_encode($jsConfig) : '{}' ?>,
    };
</script>